﻿@model ProductDetailsModel
@using Nop.Web.Models.Catalog;

@{
    var addtocomparelink = Url.RouteUrl("AddProductToCompare", new { productId = Model.Id });
}
<input type="button" value="@T("Products.Compare.AddToCompareList")" class="btn btn-default btn-sm" onclick="AjaxCart.addproducttocomparelist('@addtocomparelink');return false;" />